//
//  HomeViewController.swift
//  SWfanghu
//
//  Created by 李言 on 16/6/6.
//  Copyright © 2016年 ly. All rights reserved.
//

import UIKit

class HomeViewController: BaseviewController {

    // 评房按钮
    private var pingfangBut: UIButton!
    
    override func viewDidLoad() {
        super.viewDidLoad()

        navigationController?.navigationBar.hidden = true

        pingfangBut = addButton(CADipRectMake(40, 300, frameSize.width - 80, 88), tittle: "极速评房", target: self, action: #selector(HomeViewController.pushBut))
        view.addSubview(pingfangBut)
        

    }

    func pushBut(){
        let vc = PingfangViewController()
        vc.title = "评房"
        navigationController?.pushViewController(vc, animated: true)
    }
}
